Browse Source

Makefile

master
anapt 7 years ago
parent
commit
ffbb883fb6
  1. 23
      Makefile

23
Makefile

@ -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…
Cancel
Save