Created
September 1, 2011 23:09
-
-
Save faried/1187533 to your computer and use it in GitHub Desktop.
makefile for inform6 project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CFLAGS= -I. | |
PROG= inform6 | |
SRCS= arrays.c asm.c bpatch.c chars.c directs.c errors.c expressc.c expressp.c \ | |
files.c inform.c lexer.c linker.c memory.c objects.c states.c symbols.c \ | |
syntax.c tables.c text.c veneer.c verbs.c | |
OBJS= ${SRCS:.c=.o} | |
all: $(PROG) | |
clean: | |
rm -f $(PROG) $(OBJS) | |
$(PROG): $(OBJS) | |
$(CC) -o $(PROG) $(OBJS) | |
%.o: %.c | |
$(CC) -c $(CFLAGS) $< | |
# eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment