usaa24/cv6/Makefile

17 lines
281 B
Makefile
Raw Permalink Normal View History

2024-11-07 23:56:03 +00:00
CC = gcc
CFLAGS = -Wall -Wextra -std=c99 -pedantic
all: main
main: main.o a_station.o
$(CC) $(CFLAGS) -o main main.o a_station.o
main.o: main.c a_station.h
$(CC) $(CFLAGS) -c main.c
a_station.o: a_station.c a_station.h
$(CC) $(CFLAGS) -c a_station.c
clean:
rm -f *.o main