Browse Source

Update Makefile

pull/8/head
Symisc Systems 3 years ago
committed by GitHub
parent
commit
39ac965600
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 13 deletions
  1. +14
    -13
      Makefile

+ 14
- 13
Makefile View File

@ -1,13 +1,14 @@
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
CC = gcc
CFLAGS = -I -W -Wall
RM = rm -f
default: all
all: ph7
ph7: ph7.c
$(CC) $(CFLAGS) -o ph7 ph7.c -Ofast
clean veryclean:
$(RM) Hello

Loading…
Cancel
Save