mirror of
https://github.com/electronicarts/CnC_Generals_Zero_Hour.git
synced 2025-12-16 23:51:41 -05:00
Initial commit of Command & Conquer Generals and Command & Conquer Generals Zero Hour source code.
This commit is contained in:
33
GeneralsMD/Code/Tools/mangler/wnet/Makefile
Normal file
33
GeneralsMD/Code/Tools/mangler/wnet/Makefile
Normal file
@@ -0,0 +1,33 @@
|
||||
###########################################################################
|
||||
# TCP library makefile
|
||||
##########################################################################
|
||||
|
||||
#Define cc to be your C compiler
|
||||
CC = g++
|
||||
CFLAGS = -gstabs ${INCLUDE} -D_REENTRANT #-DDEBUG
|
||||
|
||||
#This tells make how to go from a .cpp to a .o
|
||||
.SUFFIXES: .cpp
|
||||
.cpp.o:
|
||||
${CC} ${CFLAGS} -c $<
|
||||
|
||||
INCLUDE = -I.. -I.
|
||||
|
||||
AR = ar -r
|
||||
RM = rm -f
|
||||
RANLIB = ranlib
|
||||
|
||||
############################################################################
|
||||
#Dont mess with any of this stuff
|
||||
OBJECTS = tcp.o udp.o packet.o field.o
|
||||
LIBRARY = libwnet.a
|
||||
|
||||
all: $(LIBRARY)
|
||||
|
||||
$(LIBRARY): $(OBJECTS)
|
||||
$(RM) $(LIBRARY)
|
||||
$(AR) $(LIBRARY) $(OBJECTS)
|
||||
$(RANLIB) $(LIBRARY)
|
||||
|
||||
clean:
|
||||
- rm -f $(LIBRARY) $(OBJECTS) core
|
||||
Reference in New Issue
Block a user