Created
July 18, 2019 03:17
-
-
Save surinoel/f00b345a8b8e91f80ac7b2084c4b4d90 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: all clean | |
CFLAGS = -Wall -Werror -pthread | |
TARGET = exeFile | |
SRC = $(wildcard *.c) | |
OBJ = $(SRC:.c=.o) | |
all : $(TARGET) | |
$(TARGET) : $(OBJ) | |
$(CC) $(CFLAGS) -o $@ $^ | |
clean: | |
rm -f *.o $(TARGET) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment