Create Makefile

This commit is contained in:
Symisc Systems 2018-02-19 01:52:22 +01:00 committed by GitHub
parent 200c8bef37
commit d09cbdc7e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
CC=gcc
CFLAGS = -I. -Wall -W
DEPS = ph7.h
OBJ = ph7.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
ph7-library.out: $(OBJ)
gcc -o $@ $^ $(CFLAGS) -Ofast
clean :
rm *.o *.asm *.lst *.sym *.rel *.s *.gc* -f *.info