usaa21/sk2a/Makefile

16 lines
306 B
Makefile
Raw Normal View History

2022-01-19 15:52:37 +00:00
CC = gcc
CFLAGS = -g -Wall -Werror
all: program
program: compressor.o main.o
$(CC) $(CFLAGS) compressor.o main.o -o program
compressor.o: compressor.c
$(CC) $(CFLAGS) -c compressor.c -o compressor.o
main.o: main.c
$(CC) $(CFLAGS) -c main.c -o main.o
clean:
rm -rf program *.o *.exe *.exe.stackdump