Обновить cv6/Makefile
This commit is contained in:
parent
891e79cb64
commit
fc5a3e59bf
16
cv6/Makefile
16
cv6/Makefile
@ -0,0 +1,16 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user