Initial commit of Command & Conquer Generals and Command & Conquer Generals Zero Hour source code.
This commit is contained in:
parent
2e338c00cb
commit
3d0ee53a05
6072 changed files with 2283311 additions and 0 deletions
33
Generals/Code/Tools/mangler/wnet/Makefile
Normal file
33
Generals/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 a new issue