48 lines
522 B
Makefile
48 lines
522 B
Makefile
#
|
|
# This Makefile is compatible with GNU Make and should work on Windows (MingW)
|
|
#
|
|
|
|
#
|
|
# Your operating system
|
|
#
|
|
|
|
OS = MINGW
|
|
|
|
#
|
|
# Directories
|
|
#
|
|
|
|
INCDIR = inc
|
|
LIBDIR = lib
|
|
OBJDIR = obj
|
|
SRCDIR = src
|
|
|
|
#
|
|
# Programs
|
|
#
|
|
|
|
AR = C:\MinGW\bin\ar
|
|
CC = C:\MinGW\bin\gcc
|
|
RM = C:\MinGW\bin\rm
|
|
|
|
#
|
|
# Flags
|
|
#
|
|
|
|
CFLAGS = -g -O2 -pipe -std=c99 -Wall
|
|
CFLAGS += -DOS=$(OS)
|
|
CFLAGS += -I$(INCDIR)
|
|
|
|
#
|
|
# Object files
|
|
#
|
|
|
|
OBJS = $(OBJDIR)/sam.o \
|
|
$(OBJDIR)/strl.o
|
|
|
|
#
|
|
# Include the make instructions common to all platforms
|
|
#
|
|
|
|
include Makefile.common
|