makefile.txt

GmudV33/src_linux/makefile.txt · 325 B

From the archive GmudV34.zip

Download the archive   « Back to the archive contents

CC      = gcc
PROF    = -O -ggdb
NOCRYPT =
C_FLAGS =  -Wall $(PROF) $(NOCRYPT)
L_FLAGS =  $(PROF) -lcrypt

SRC_FILES := $(wildcard *.c)
O_FILES := $(patsubst %.c, %.o, $(SRC_FILES))

rom: $(O_FILES)
	rm -f ghost
	$(CC) $(L_FLAGS) -o ghost $(O_FILES)

.c.o: merc.h
	$(CC) -c $(C_FLAGS) $<

clean:
	rm -f $(O_FILES) rom







Site Stats

Snippets: 1791
Codebases: 571