usaa24/cv6/Makefile
2024-10-29 15:22:46 +01:00

18 lines
284 B
Makefile

CC = gcc
CFLAGS = -Wall -Werror -std=c99
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