Changeset 212 in Main for trunk/Server/Makefile


Ignore:
Timestamp:
Oct 3, 2024, 2:44:55 AM (6 weeks ago)
Author:
Nishi
Message:

compiles on vc6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/Makefile

    r197 r212  
    11# $Id$
    22
     3OBJ=o
     4STATIC=a
    35include $(PWD)/Platform/$(PLATFORM).mk
    46
    57.PHONY: all clean
    6 .SUFFIXES: .c .o
     8.SUFFIXES: .c .$(OBJ)
    79
    8 OBJS = main.o version.o config.o server.o http.o module.o strptime.o font.o $(EXTOBJS) $(PREOBJS)
     10OBJS = main.$(OBJ) version.$(OBJ) config.$(OBJ) server.$(OBJ) http.$(OBJ) module.$(OBJ) strptime.$(OBJ) font.$(OBJ) $(EXTOBJS) $(PREOBJS)
    911
    1012all: tewi$(EXEC) $(TARGET)
     
    1214tewi_strip$(EXEC): tewi$(EXEC)
    1315
    14 tewi$(EXEC): $(OBJS) ../Common/common.a
    15         $(CC) $(LDFLAGS) $(EXTLDFLAGS) -o $@ $(OBJS) $(EXTLIBS) ../Common/common.a $(LIBS)
     16tewi$(EXEC): $(OBJS) ../Common/common.$(STATIC)
     17        $(CC) $(LDFLAGS) $(EXTLDFLAGS) -o $@ $(OBJS) $(EXTLIBS) ../Common/common.$(STATIC) $(LIBS)
    1618        $(SERVADD)
    1719
     
    4143        package_finalize $@
    4244
    43 .c.o:
     45.c.$(OBJ):
    4446        $(CC) $(CFLAGS) $(EXTCFLAGS) -c -o $@ $<
    4547
     
    4850
    4951clean:
    50         rm -f *.o tewi *.exe *.res *.elf *.sfo *.pbp *.self *.pkg
     52        rm -f *.o tewi *.exe *.res *.elf *.sfo *.pbp *.self *.pkg *.obj
Note: See TracChangeset for help on using the changeset viewer.