anapt
7 years ago
1 changed files with 23 additions and 0 deletions
@ -0,0 +1,23 @@ |
|||
SHELL := /bin/bash |
|||
|
|||
|
|||
# ============================================
|
|||
# COMMANDS
|
|||
|
|||
CC = gcc |
|||
RM = rm -f |
|||
CFLAGS=-lm |
|||
|
|||
# ==========================================
|
|||
# TARGETS
|
|||
|
|||
|
|||
EXECUTABLES = serial |
|||
|
|||
all: $(EXECUTABLES) |
|||
|
|||
serial: serial.c |
|||
$(CC) $< -o $@ $(CFLAGS) |
|||
|
|||
clean: |
|||
$(RM) *.o *~ $(EXECUTABLES) |
Loading…
Reference in new issue