build: merge everything to a single top-level Makefile

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
This commit is contained in:
Vegard Nossum
2009-06-11 10:08:32 +02:00
parent 3ce06cd424
commit f81bcc722a
11 changed files with 64 additions and 92 deletions

2
src/lib/.gitignore vendored
View File

@@ -1,2 +0,0 @@
# executable
xlib

View File

@@ -1,12 +0,0 @@
obj := library.o main.o
all: xlib
clean:
rm -rf xlib $(obj)
xlib: $(obj)
gcc -Wall -o $@ $^
.c.o:
gcc -Wall -I../../include -g -c -o $@ $<