liblash

A bianry tree implementation used for game development from scratch
git clone git://holbrook.no/liblash.git
Log | Files | Refs | LICENSE

Makefile.old (706B)


      1 CFLAGS = -I./include
      2 
      3 src = $(wildcard *.c)
      4 
      5 all: liblash.a
      6 
      7 liblash.a: $(src:.c=.o)
      8 	ar cq $@ $^
      9 
     10 #shared:
     11 #	$(CC) -Wall $(CFLAGS) -o lash_tree_lib.o -fPIC -c lash_tree3.c
     12 #	$(CC) -Wall $(CFLAGS) -o lash_tree_dump_lib.o -fPIC -c lash_tree3_dump.c
     13 #	$(CC) -shared -Wl,-soname,liblash.so.0 -o $(SHAREDOBJECTDIR)liblash.so lash_tree_lib.o lash_tree_dump_lib.o
     14 #	$(CC) -Wall $(CFLAGS) -o lash_debug_log_lib.o -fPIC -c lash_debug_log.c
     15 #	$(CC) -Wall $(CFLAGS) -o lash_debug_timer_lib.o -fPIC -c lash_debug_timer.c
     16 #	$(CC) -shared -Wl,-soname,liblashdebug.so.0 -o $(SHAREDOBJECTDIR)liblashdebug.so lash_debug_log_lib.o lash_debug_timer_lib.o
     17 
     18 .PHONY: clean
     19 clean:
     20 	rm -rf *.a *.o $(TESTDIR)*.o $(TESTDIR)*_bin
     21