mirror of
https://github.com/id-Software/DOOM.git
synced 2026-03-20 00:49:46 +01:00
The DOOM sources as originally released on December 23, 1997
This commit is contained in:
39
sndserv/Makefile
Normal file
39
sndserv/Makefile
Normal file
@@ -0,0 +1,39 @@
|
||||
##########################################################
|
||||
#
|
||||
# $Id:$
|
||||
#
|
||||
# $Log:$
|
||||
#
|
||||
#
|
||||
|
||||
CC=gcc
|
||||
CFLAGS=-O -DNORMALUNIX -DLINUX
|
||||
LDFLAGS=
|
||||
LIBS=-lm
|
||||
|
||||
O=linux
|
||||
|
||||
all: $(O)/sndserver
|
||||
|
||||
clean:
|
||||
rm -f *.o *~ *.flc
|
||||
rm -f linux/*
|
||||
|
||||
# Target
|
||||
$(O)/sndserver: \
|
||||
$(O)/soundsrv.o \
|
||||
$(O)/sounds.o \
|
||||
$(O)/wadread.o \
|
||||
$(O)/linux.o
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) \
|
||||
$(O)/soundsrv.o \
|
||||
$(O)/sounds.o \
|
||||
$(O)/wadread.o \
|
||||
$(O)/linux.o -o $(O)/sndserver $(LIBS)
|
||||
echo make complete.
|
||||
|
||||
# Rule
|
||||
$(O)/%.o: %.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user