You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
276 B

SOURCES=$(wildcard *.c)
OBJECTS=$(SOURCES:.c=.o)
CC=gcc
FLAGS=-c -w
default: test
all: test
.PHONY: test
test: $(OBJECTS) $(OBJECTSXX)
echo "test called\n"
.PHONY: configure
configure:
echo "no configure required\n"
clean:
rm -rf *.o
.c.o:
$(CC) $(FLAGS) $< -o $@