version 1.1, 2010/06/03 07:54:47 |
version 1.2, 2010/06/03 08:35:32 |
|
|
$home: patch-Makefile,v 1.1.1.1 2009/07/22 10:15:37 dukzcry Exp $ |
$OpenBSD$ |
|
--- Makefile.orig Mon Nov 16 07:54:18 2009 |
--- Makefile.orig Fri Jun 5 18:30:45 2009 |
+++ Makefile Thu Jun 3 12:57:32 2010 |
+++ Makefile Sat Jun 6 00:09:15 2009 |
@@ -10,7 +10,7 @@ CXX = $(shell fltk-config --cxx) |
@@ -28,13 +28,14 @@ docs: FORCE |
CC = $(shell fltk-config --cxx) |
$(CXX) $(CFLAGS) -I$(FLTK) -DVERSION=\"$(VERSION)\" -c $< |
DEBUG = -g |
|
CXXFLAGS = $(shell fltk-config --use-images --cxxflags ) -I. -DVERSION=\"$(VERSION)\" |
|
-LDLIBS = $(shell fltk-config --use-images --ldstaticflags ) |
|
+LDLIBS = $(shell fltk-config --use-images --cxxflags --ldflags ) |
|
LINK = $(CXX) |
|
|
%.o: %.C %.H |
# DEFAULT BUILD |
- $(CXX) $(CFLAGS) -c $< |
|
+ $(CXX) $(CFLAGS) -I$(FLTK) -c $< |
|
|
|
# CREATE BIN DIRECTORIES |
|
bindirs: FORCE |
|
if ( ! -d bin.linux ) mkdir bin.linux |
|
if ( ! -d bin.irix ) mkdir bin.irix |
|
if ( ! -d bin.darwin ) mkdir bin.darwin |
|
+ if ( ! -d bin.openbsd ) mkdir bin.openbsd |
|
|
|
|
|
nixieclock: bindirs nixieclock.o Digit.o NixieDisplay.o |
|