mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 16: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
|
||||
CC=gcc
|
||||
EXT=dylib
|
||||
|
||||
BUILDIRD=build
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
BUILDIRD=/opt/www
|
||||
@ -67,6 +67,8 @@ PLUGINSDEP = libs/plugin.o
|
||||
|
||||
main: httpd plugins
|
||||
|
||||
initd:
|
||||
-mkdir -p $(BUILDIRD)
|
||||
|
||||
httpd: lib $(SERVER_O)
|
||||
$(CC) $(CFLAGS) $(SERVER_O) -o $(BUILDIRD)/httpd httpd.c $(SERVERLIB)
|
||||
|
Loading…
Reference in New Issue
Block a user