CC=gcc
|
|
CFLAGS=-Wall -g
|
|
LDFLAGS=-lm
|
|
OBJS=pgs.o
|
|
TARGET=pgs
|
|
|
|
|
|
build:
|
|
$(CC) pgs.c $(CFLAGS) $(LDFLAGS) -o $(TARGET)
|
|
|
|
run: build
|
|
./$(TARGET)
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(TARGET)
|