usaa24/cv6/Makefile

14 lines
184 B
Makefile
Raw Permalink Normal View History

2024-10-28 17:03:31 +00:00
CFLAGS= -std=c99 -g -Wall -Werror
all: station
%.o: %.c
2024-10-28 17:05:16 +00:00
gcc -c -o $@ $< $(CFLAGS)
2024-10-28 17:03:31 +00:00
station: main.o a_station.o
2024-10-28 17:05:16 +00:00
gcc $(CFLAGS) main.o a_station.o -o station
2024-10-28 17:03:31 +00:00
clean:
2024-10-28 17:05:16 +00:00
rm *.o station
2024-10-28 17:03:31 +00:00