mirror of
https://github.com/NotAShelf/dummy-serial.git
synced 2024-11-01 12:01:15 +00:00
add Makefile
This commit is contained in:
parent
803ab3afe5
commit
889b110eaa
2 changed files with 16 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
dummy_serial
|
||||
# ignore build artifact
|
||||
main
|
||||
|
|
14
Makefile
Normal file
14
Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
CC = gcc
|
||||
CFLAGS = -g -Wall
|
||||
|
||||
# the build target executable:
|
||||
TARGET = main
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(TARGET).c
|
||||
$(CC) $(CFLAGS) -o $(TARGET) $(TARGET).c
|
||||
|
||||
clean:
|
||||
$(RM) $(TARGET)
|
||||
|
Loading…
Reference in a new issue