test/Makefile

changeset 35
fdabd1240b69
parent 27
22644e2572bc
child 39
bf8ab7bb74ff
--- a/test/Makefile	Fri Jun 01 12:35:30 2012 +0200
+++ b/test/Makefile	Wed Aug 15 19:32:29 2012 +0200
@@ -37,6 +37,8 @@
 ../build/test1: $(OBJ)
 	$(LD) $(LDFLAGS) -o ../build/test$(APP_EXT) $(OBJ) ../build/libucx.a
 
-../build/%.$(OBJ_EXT): %.c
+../build/%.$(OBJ_EXT): %.c ../build
 	$(CC) $(CFLAGS) -I../ -o $@ -c $<
 
+../build:
+	mkdir -p build

mercurial