root/src/router/wgets/Makefile

Revision 11401, 467 bytes (checked in by BrainSlayer, 10 months ago)

https client

Line 
1
2 # To compile on SunOS: add "-lsocket -lnsl" to LDFLAGS
3 # To compile on MinGW: add "-lws2_32" to LDFLAGS
4
5 CFLAGS  = -Iinclude
6 OFLAGS  = $(COPTS) -ffunction-sections -fdata-sections -Wl,--gc-sections
7 LDFLAGS = -Llibrary -lxyssl
8
9 APPS =  wgets
10 .SILENT:
11
12 all: $(APPS)
13
14 library/libxyssl.a:
15         make -C library
16
17 wgets: wgets.c library/libxyssl.a
18         echo   "  CC    wgets.c"
19         $(CC) $(CFLAGS) $(OFLAGS) wgets.c  $(LDFLAGS) -o $@
20
21 clean:
22         rm -f $(APPS)
23         make -C library clean
24
25    
Note: See TracBrowser for help on using the browser.