Use CSOURCES as other makefiles. Add line for dependency generation.
This commit is contained in:
parent
56bf97ffc9
commit
9e54d4c7d2
@ -15,13 +15,13 @@ endif
|
|||||||
|
|
||||||
LIBS += $(WATT32_ROOT)/lib/libwatt.a $(ZLIB_ROOT)/libz.a
|
LIBS += $(WATT32_ROOT)/lib/libwatt.a $(ZLIB_ROOT)/libz.a
|
||||||
|
|
||||||
PROGRAMS = fopen.exe ftpget.exe ftpgetresp.exe ftpupload.exe \
|
CSOURCES = fopen.c ftpget.c ftpgetresp.c ftpupload.c getinmemory.c \
|
||||||
getinmemory.exe http-post.exe httpput.exe multi-app.exe \
|
http-post.c httpput.c multi-app.c multi-double.c multi-post.c \
|
||||||
multi-double.exe multi-post.exe multi-single.exe \
|
multi-single.c persistant.c post-callback.c postit2.c \
|
||||||
persistant.exe post-callback.exe postit2.exe \
|
sepheaders.c simple.c simplessl.c https.c ftp3rdparty.c \
|
||||||
sepheaders.exe simple.exe simplessl.exe https.exe \
|
getinfo.c anyauthput.c cookie_interface.c 10-at-a-time.c
|
||||||
ftp3rdparty.exe getinfo.exe anyauthput.exe \
|
|
||||||
cookie_interface.exe
|
PROGRAMS = $(CSOURCES:.c=.exe)
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
all: $(PROGRAMS)
|
||||||
|
|
||||||
@ -32,3 +32,5 @@ all: $(PROGRAMS)
|
|||||||
clean:
|
clean:
|
||||||
rm -f $(PROGRAMS)
|
rm -f $(PROGRAMS)
|
||||||
|
|
||||||
|
# DO NOT DELETE THIS LINE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user