mirror of
https://github.com/lxsang/ant-http
synced 2024-11-19 17:58:22 +01:00
Update Makefile
This commit is contained in:
parent
00f6066f31
commit
53384baf94
4
Makefile
4
Makefile
@ -2,7 +2,7 @@ USE_DB=TRUE
|
|||||||
USE_SSL = TRUE
|
USE_SSL = TRUE
|
||||||
CC=gcc
|
CC=gcc
|
||||||
EXT=dylib
|
EXT=dylib
|
||||||
|
BUILDIRD=build
|
||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
ifeq ($(UNAME_S),Linux)
|
ifeq ($(UNAME_S),Linux)
|
||||||
BUILDIRD=/opt/www
|
BUILDIRD=/opt/www
|
||||||
@ -67,6 +67,8 @@ PLUGINSDEP = libs/plugin.o
|
|||||||
|
|
||||||
main: httpd plugins
|
main: httpd plugins
|
||||||
|
|
||||||
|
initd:
|
||||||
|
-mkdir -p $(BUILDIRD)
|
||||||
|
|
||||||
httpd: lib $(SERVER_O)
|
httpd: lib $(SERVER_O)
|
||||||
$(CC) $(CFLAGS) $(SERVER_O) -o $(BUILDIRD)/httpd httpd.c $(SERVERLIB)
|
$(CC) $(CFLAGS) $(SERVER_O) -o $(BUILDIRD)/httpd httpd.c $(SERVERLIB)
|
||||||
|
Loading…
Reference in New Issue
Block a user