--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
CC = gcc -g -ggdb $(PROF)
CPP = g++ -g -ggdb $(PROF)
CFLAGS = -Wall -O2 -Iinclude $(EXTRA)
- EXTRA =
-LDFLAGS = -L/usr/lib
+ EXTRA = -I/usr/local/include
+LDFLAGS = -L/usr/lib -L/usr/local/lib
RM = rm -f
FIND = find
MAKE = make
@@ -13,9 +13,7 @@
PROF = -fprofile-arcs -ftest-coverage -pg
endif
-TARGET = ncurses
-TARGET += numerierung
-TARGET += xdemo
+TARGET = numerierung
TARGET += signals
TARGET += tree
TARGET += utf8
@@ -32,23 +30,18 @@
TARGET += hex2chars
TARGET += floating
TARGET += max
-TARGET += recording
TARGET += endian
TARGET += fak
TARGET += blackhole
TARGET += folge
TARGET += counter
TARGET += sudoku
-TARGET += cunit
-TARGET += md5
-TARGET += md5rec
TARGET += myprintf
TARGET += concatenation
TARGET += alpha_beta
TARGET += life
TARGET += bad_alloc
TARGET += lotto
-TARGET += database
TARGET += gauss
TARGET += mem2swap
TARGET += prog_limit
@@ -59,7 +52,6 @@
TARGET += min2time
TARGET += recursive_compiler
TARGET += getpwnam_error
-TARGET += xmlparser
TARGET += vector
TARGET += base10
TARGET += files
@@ -77,6 +69,28 @@
TARGET += getbits
TARGET += fun
+# needs ncursesw
+TARGET += ncurses
+
+#needs xpat
+TARGET += xmlparser
+
+# needs CUnit
+TARGET += cunit
+
+# needs postgresql
+TARGET += database
+
+# needs lsflib/
+TARGET += md5
+TARGET += md5rec
+
+# needs x11
+TARGET += xdemo
+
+# needs linux
+TARGET += recording
+
.SUFFIXES: .c .cc .asm
.c.o: