Add cv4/Makefile
This commit is contained in:
parent
f09543e303
commit
d033d0e4ca
17
cv4/Makefile
Normal file
17
cv4/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -Wextra
|
||||
TARGET = train_management
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): main.o a_train.o
|
||||
$(CC) $(CFLAGS) -o $(TARGET) main.o a_train.o
|
||||
|
||||
main.o: main.c a_train.h
|
||||
$(CC) $(CFLAGS) -c main.c
|
||||
|
||||
a_train.o: a_train.c a_train.h
|
||||
$(CC) $(CFLAGS) -c a_train.c
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET) *.o
|
Loading…
Reference in New Issue
Block a user