CS2263/Assigments/4/CLionProject/Makefile

16 lines
299 B
Makefile
Raw Permalink Normal View History

2023-05-22 23:28:51 -03:00
COMPILER = gcc
C_FLAGS = -Wall -Wextra
htags.o: htags.c
$(COMPILER) $(C_FLAGS) -c htags.c
htags: htags.o
$(COMPILER) $(C_FLAGS) -o htags htags.c
test.o: test.c
$(COMPILER) $(C_FLAGS) -c test.c
test: test.o
$(COMPILER) $(C_FLAGS) -o test test.o
run: htags
.\htags example.html