source: Main/trunk/Server/Makefile@ 54

Last change on this file since 54 was 54, checked in by Nishi, on Sep 18, 2024 at 9:15:57 PM

installer kinda works

  • Property svn:keywords set to Id
File size: 532 bytes
Line 
1# $Id: Makefile 54 2024-09-18 12:15:57Z nishi $
2
3include $(PWD)/Platform/$(PLATFORM).mk
4
5.PHONY: all clean
6.SUFFIXES: .c .o
7
8OBJS = version.o main.o config.o server.o http.o module.o strptime.o $(EXTOBJS) $(PREOBJS)
9
10all: tewi$(EXEC) $(INSTALLER)
11
12install.exe: tewi$(EXEC) install.nsi
13 makensis install.nsi
14
15tewi$(EXEC): $(OBJS) ../Common/common.a
16 $(CC) $(LDFLAGS) $(EXTLDFLAGS) -o $@ $(OBJS) $(EXTLIBS) $(LIBS) ../Common/common.a
17
18.c.o:
19 $(CC) $(CFLAGS) $(EXTCFLAGS) -c -o $@ $<
20
21tewi.res: tewi.rc tewi.ico
22 $(WINDRES) tewi.rc -O coff -o $@
23
24clean:
25 rm -f *.o tewi *.exe
Note: See TracBrowser for help on using the repository browser.