Skip to content

Commit

Permalink
make make make all targets
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHippo committed Mar 13, 2013
1 parent a93326d commit 9e1c8ed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Expand Up @@ -9,6 +9,8 @@ LDFLAGS = -lfcgi
OUT = bin/hxfcgi.ndll
OBJ = src/hxfcgi.o src/request.o src/basic.o src/data.o

all: clean hxfcgi neko cpp

hxfcgi: $(OBJ)
$(CC) $(CFLAGS) $(OBJ) -o $(OUT) $(LDFLAGS)

Expand All @@ -19,7 +21,6 @@ clean:
rm -f $(OUT)
rm -f $(OBJ)

all: clean hxfcgi neko

neko:
ifdef HXCPP_M64
Expand All @@ -28,12 +29,12 @@ else
haxe neko.hxml
endif
nekotools boot bin/test.n
mv bin/test bin/test.fcgi
mv bin/test bin/test_neko.fcgi

cpp:
ifdef HXCPP_M64
haxe -D HXCPP_M64 cpp.hxml
else
haxe cpp.hxml
endif
mv bin/Test bin/test.fcgi
mv bin/Test bin/test_cpp.fcgi

0 comments on commit 9e1c8ed

Please sign in to comment.