2014-03-05 15:50:41 +00:00
|
|
|
# Capstone Disassembly Engine
|
2013-11-27 04:11:31 +00:00
|
|
|
# By Nguyen Anh Quynh <aquynh@gmail.com>, 2013>
|
2013-12-31 15:38:28 +00:00
|
|
|
|
2013-12-20 04:43:01 +00:00
|
|
|
include config.mk
|
2014-03-07 09:11:18 +00:00
|
|
|
include pkgconfig.mk # package version
|
2013-11-27 04:11:31 +00:00
|
|
|
|
2014-01-16 13:07:59 +00:00
|
|
|
ifeq ($(CROSS),)
|
|
|
|
CC ?= cc
|
|
|
|
AR ?= ar
|
|
|
|
RANLIB ?= ranlib
|
|
|
|
STRIP ?= strip
|
|
|
|
else
|
|
|
|
CC = $(CROSS)gcc
|
|
|
|
AR = $(CROSS)ar
|
|
|
|
RANLIB = $(CROSS)ranlib
|
|
|
|
STRIP = $(CROSS)strip
|
|
|
|
endif
|
2013-11-27 04:11:31 +00:00
|
|
|
|
2013-12-06 16:03:41 +00:00
|
|
|
CFLAGS += -fPIC -O3 -Wall -Iinclude
|
2014-01-05 15:41:31 +00:00
|
|
|
|
|
|
|
ifeq ($(USE_SYS_DYN_MEM),yes)
|
|
|
|
CFLAGS += -DUSE_SYS_DYN_MEM
|
|
|
|
endif
|
|
|
|
|
2013-11-27 04:11:31 +00:00
|
|
|
LDFLAGS += -shared
|
|
|
|
|
2013-11-27 14:38:44 +00:00
|
|
|
PREFIX ?= /usr
|
|
|
|
DESTDIR ?=
|
|
|
|
INCDIR = $(DESTDIR)$(PREFIX)/include
|
2013-12-25 14:47:28 +00:00
|
|
|
|
2013-11-27 14:38:44 +00:00
|
|
|
LIBDIR = $(DESTDIR)$(PREFIX)/lib
|
2013-12-25 14:47:28 +00:00
|
|
|
# on x86_64, we might have /usr/lib64 directory instead of /usr/lib
|
2014-03-05 15:49:14 +00:00
|
|
|
UNAME_M := $(shell uname -m)
|
|
|
|
ifeq ($(UNAME_M), x86_64)
|
2014-01-01 13:40:49 +00:00
|
|
|
ifeq (,$(wildcard $(LIBDIR)))
|
|
|
|
LIBDIR = $(DESTDIR)$(PREFIX)/lib64
|
|
|
|
else
|
|
|
|
LIBDIR = $(DESTDIR)$(PREFIX)/lib
|
|
|
|
endif
|
2013-12-25 14:47:28 +00:00
|
|
|
endif
|
2013-11-27 14:38:44 +00:00
|
|
|
|
2014-01-17 12:55:21 +00:00
|
|
|
INSTALL_BIN ?= install
|
|
|
|
INSTALL_DATA ?= $(INSTALL_BIN) -m0644
|
|
|
|
INSTALL_LIBRARY ?= $(INSTALL_BIN) -m0755
|
2013-11-27 14:38:44 +00:00
|
|
|
|
2013-11-27 04:11:31 +00:00
|
|
|
LIBNAME = capstone
|
2013-12-06 16:03:41 +00:00
|
|
|
|
2013-12-29 16:15:25 +00:00
|
|
|
|
2014-02-28 15:09:04 +00:00
|
|
|
DEP_ARM =
|
|
|
|
DEP_ARM += arch/ARM/ARMGenAsmWriter.inc
|
|
|
|
DEP_ARM += arch/ARM/ARMGenDisassemblerTables.inc
|
|
|
|
DEP_ARM += arch/ARM/ARMGenInstrInfo.inc
|
|
|
|
DEP_ARM += arch/ARM/ARMGenRegisterInfo.inc
|
|
|
|
DEP_ARM += arch/ARM/ARMGenSubtargetInfo.inc
|
|
|
|
|
|
|
|
LIBOBJ_ARM =
|
2014-01-15 08:01:55 +00:00
|
|
|
ifneq (,$(findstring arm,$(CAPSTONE_ARCHS)))
|
|
|
|
CFLAGS += -DCAPSTONE_HAS_ARM
|
2014-02-28 15:09:04 +00:00
|
|
|
LIBOBJ_ARM += arch/ARM/ARMDisassembler.o
|
|
|
|
LIBOBJ_ARM += arch/ARM/ARMInstPrinter.o
|
|
|
|
LIBOBJ_ARM += arch/ARM/ARMMapping.o
|
|
|
|
LIBOBJ_ARM += arch/ARM/ARMModule.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
DEP_ARM64 =
|
|
|
|
DEP_ARM64 += arch/AArch64/AArch64GenAsmWriter.inc
|
|
|
|
DEP_ARM64 += arch/AArch64/AArch64GenInstrInfo.inc
|
|
|
|
DEP_ARM64 += arch/AArch64/AArch64GenSubtargetInfo.inc
|
|
|
|
DEP_ARM64 += arch/AArch64/AArch64GenDisassemblerTables.inc
|
|
|
|
DEP_ARM64 += arch/AArch64/AArch64GenRegisterInfo.inc
|
|
|
|
|
|
|
|
LIBOBJ_ARM64 =
|
|
|
|
ifneq (,$(findstring aarch64,$(CAPSTONE_ARCHS)))
|
|
|
|
CFLAGS += -DCAPSTONE_HAS_ARM64
|
|
|
|
LIBOBJ_ARM64 += arch/AArch64/AArch64BaseInfo.o
|
|
|
|
LIBOBJ_ARM64 += arch/AArch64/AArch64Disassembler.o
|
|
|
|
LIBOBJ_ARM64 += arch/AArch64/AArch64InstPrinter.o
|
|
|
|
LIBOBJ_ARM64 += arch/AArch64/AArch64Mapping.o
|
|
|
|
LIBOBJ_ARM64 += arch/AArch64/AArch64Module.o
|
2014-01-15 08:01:55 +00:00
|
|
|
endif
|
2014-02-28 15:09:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
DEP_MIPS =
|
|
|
|
DEP_MIPS += arch/Mips/MipsGenAsmWriter.inc
|
|
|
|
DEP_MIPS += arch/Mips/MipsGenDisassemblerTables.inc
|
|
|
|
DEP_MIPS += arch/Mips/MipsGenInstrInfo.inc
|
|
|
|
DEP_MIPS += arch/Mips/MipsGenRegisterInfo.inc
|
|
|
|
DEP_MIPS += arch/Mips/MipsGenSubtargetInfo.inc
|
|
|
|
|
|
|
|
LIBOBJ_MIPS =
|
2014-01-14 15:08:20 +00:00
|
|
|
ifneq (,$(findstring mips,$(CAPSTONE_ARCHS)))
|
|
|
|
CFLAGS += -DCAPSTONE_HAS_MIPS
|
2014-02-28 15:09:04 +00:00
|
|
|
LIBOBJ_MIPS += arch/Mips/MipsDisassembler.o
|
|
|
|
LIBOBJ_MIPS += arch/Mips/MipsInstPrinter.o
|
|
|
|
LIBOBJ_MIPS += arch/Mips/MipsMapping.o
|
|
|
|
LIBOBJ_MIPS += arch/Mips/MipsModule.o
|
2014-01-14 15:08:20 +00:00
|
|
|
endif
|
2014-02-28 15:09:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
DEP_PPC =
|
|
|
|
DEP_PPC += arch/PowerPC/PPCGenAsmWriter.inc
|
|
|
|
DEP_PPC += arch/PowerPC/PPCGenInstrInfo.inc
|
|
|
|
DEP_PPC += arch/PowerPC/PPCGenSubtargetInfo.inc
|
|
|
|
DEP_PPC += arch/PowerPC/PPCGenDisassemblerTables.inc
|
|
|
|
DEP_PPC += arch/PowerPC/PPCGenRegisterInfo.inc
|
|
|
|
|
|
|
|
LIBOBJ_PPC =
|
2013-12-29 16:15:25 +00:00
|
|
|
ifneq (,$(findstring powerpc,$(CAPSTONE_ARCHS)))
|
2014-01-09 04:06:44 +00:00
|
|
|
CFLAGS += -DCAPSTONE_HAS_POWERPC
|
2014-02-28 15:09:04 +00:00
|
|
|
LIBOBJ_PPC += arch/PowerPC/PPCDisassembler.o
|
|
|
|
LIBOBJ_PPC += arch/PowerPC/PPCInstPrinter.o
|
|
|
|
LIBOBJ_PPC += arch/PowerPC/PPCMapping.o
|
|
|
|
LIBOBJ_PPC += arch/PowerPC/PPCModule.o
|
2013-12-29 16:15:25 +00:00
|
|
|
endif
|
2014-02-28 15:09:04 +00:00
|
|
|
|
|
|
|
|
2014-03-10 03:58:57 +00:00
|
|
|
DEP_SPARC =
|
|
|
|
DEP_SPARC += arch/Sparc/SparcGenAsmWriter.inc
|
|
|
|
DEP_SPARC += arch/Sparc/SparcGenInstrInfo.inc
|
|
|
|
DEP_SPARC += arch/Sparc/SparcGenSubtargetInfo.inc
|
|
|
|
DEP_SPARC += arch/Sparc/SparcGenDisassemblerTables.inc
|
|
|
|
DEP_SPARC += arch/Sparc/SparcGenRegisterInfo.inc
|
|
|
|
|
|
|
|
LIBOBJ_SPARC =
|
|
|
|
ifneq (,$(findstring sparc,$(CAPSTONE_ARCHS)))
|
|
|
|
CFLAGS += -DCAPSTONE_HAS_SPARC
|
|
|
|
LIBOBJ_SPARC += arch/Sparc/SparcDisassembler.o
|
|
|
|
LIBOBJ_SPARC += arch/Sparc/SparcInstPrinter.o
|
|
|
|
LIBOBJ_SPARC += arch/Sparc/SparcMapping.o
|
|
|
|
LIBOBJ_SPARC += arch/Sparc/SparcModule.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2014-02-28 15:09:04 +00:00
|
|
|
DEP_X86 =
|
|
|
|
DEP_X86 += arch/X86/X86GenAsmWriter.inc
|
|
|
|
DEP_X86 += arch/X86/X86GenAsmWriter1.inc
|
|
|
|
DEP_X86 += arch/X86/X86GenDisassemblerTables.inc
|
|
|
|
DEP_X86 += arch/X86/X86GenInstrInfo.inc
|
|
|
|
DEP_X86 += arch/X86/X86GenRegisterInfo.inc
|
|
|
|
|
|
|
|
LIBOBJ_X86 =
|
|
|
|
ifneq (,$(findstring x86,$(CAPSTONE_ARCHS)))
|
|
|
|
CFLAGS += -DCAPSTONE_HAS_X86
|
|
|
|
LIBOBJ_X86 += arch/X86/X86DisassemblerDecoder.o
|
|
|
|
LIBOBJ_X86 += arch/X86/X86Disassembler.o
|
|
|
|
LIBOBJ_X86 += arch/X86/X86IntelInstPrinter.o
|
|
|
|
LIBOBJ_X86 += arch/X86/X86ATTInstPrinter.o
|
|
|
|
LIBOBJ_X86 += arch/X86/X86Mapping.o
|
|
|
|
LIBOBJ_X86 += arch/X86/X86Module.o
|
2013-12-20 06:57:12 +00:00
|
|
|
endif
|
2013-12-29 16:15:25 +00:00
|
|
|
|
2014-02-28 15:09:04 +00:00
|
|
|
LIBOBJ =
|
|
|
|
LIBOBJ += cs.o utils.o SStream.o MCInstrDesc.o MCRegisterInfo.o
|
2014-03-10 03:58:57 +00:00
|
|
|
LIBOBJ += $(LIBOBJ_ARM) $(LIBOBJ_ARM64) $(LIBOBJ_MIPS) $(LIBOBJ_PPC) $(LIBOBJ_SPARC) $(LIBOBJ_X86)
|
2013-11-27 04:11:31 +00:00
|
|
|
LIBOBJ += MCInst.o
|
|
|
|
|
2014-02-28 15:09:04 +00:00
|
|
|
|
2013-11-27 04:11:31 +00:00
|
|
|
UNAME_S := $(shell uname -s)
|
2014-02-24 07:17:40 +00:00
|
|
|
PKGCFCGDIR = $(LIBDIR)/pkgconfig
|
|
|
|
|
2013-12-31 15:38:28 +00:00
|
|
|
# OSX?
|
2013-11-27 04:11:31 +00:00
|
|
|
ifeq ($(UNAME_S),Darwin)
|
|
|
|
EXT = dylib
|
2013-12-25 15:54:45 +00:00
|
|
|
AR_EXT = a
|
2014-03-07 14:06:51 +00:00
|
|
|
ifneq ($(USE_SYS_DYN_MEM),yes)
|
|
|
|
# remove string check because OSX kernel complains about missing symbols
|
|
|
|
CFLAGS += -D_FORTIFY_SOURCE=0
|
|
|
|
endif
|
2014-02-24 07:17:40 +00:00
|
|
|
# By default, suppose that Brew is installed & use Brew path for pkgconfig file
|
|
|
|
PKGCFCGDIR = /usr/local/lib/pkgconfig
|
|
|
|
# is Macport installed instead?
|
2014-02-24 07:26:20 +00:00
|
|
|
ifneq (,$(wildcard /opt/local/bin/port))
|
2014-02-24 07:17:40 +00:00
|
|
|
# then correct the path for pkgconfig file
|
|
|
|
PKGCFCGDIR = /opt/local/lib/pkgconfig
|
|
|
|
endif
|
2013-11-27 14:38:44 +00:00
|
|
|
else
|
2013-11-28 18:22:50 +00:00
|
|
|
# Cygwin?
|
|
|
|
IS_CYGWIN := $(shell $(CC) -dumpmachine | grep -i cygwin | wc -l)
|
|
|
|
ifeq ($(IS_CYGWIN),1)
|
|
|
|
EXT = dll
|
|
|
|
AR_EXT = dll.a
|
|
|
|
# Cygwin doesn't like -fPIC
|
|
|
|
CFLAGS := $(CFLAGS:-fPIC=)
|
|
|
|
# On Windows we need the shared library to be executable
|
|
|
|
else
|
|
|
|
# mingw?
|
|
|
|
IS_MINGW := $(shell $(CC) --version | grep -i mingw | wc -l)
|
|
|
|
ifeq ($(IS_MINGW),1)
|
|
|
|
EXT = dll
|
|
|
|
AR_EXT = dll.a
|
|
|
|
# mingw doesn't like -fPIC either
|
|
|
|
CFLAGS := $(CFLAGS:-fPIC=)
|
|
|
|
# On Windows we need the shared library to be executable
|
2013-12-25 15:54:45 +00:00
|
|
|
else
|
|
|
|
# Linux, *BSD
|
|
|
|
EXT = so
|
|
|
|
AR_EXT = a
|
2014-03-11 03:34:28 +00:00
|
|
|
API_MAJOR=$(shell echo `grep -e CS_API_MAJOR include/capstone.h | grep -v = | awk '{print $$3}'` | awk '{print $$1}')
|
2014-03-11 03:24:46 +00:00
|
|
|
LDFLAGS += -Wl,-soname,lib$(LIBNAME)$(API_MAJOR)
|
2013-11-28 18:22:50 +00:00
|
|
|
endif
|
|
|
|
endif
|
2013-11-27 04:11:31 +00:00
|
|
|
endif
|
|
|
|
|
2013-12-06 16:03:41 +00:00
|
|
|
LIBRARY = lib$(LIBNAME).$(EXT)
|
|
|
|
ARCHIVE = lib$(LIBNAME).$(AR_EXT)
|
|
|
|
PKGCFGF = $(LIBNAME).pc
|
|
|
|
|
2014-02-28 02:49:46 +00:00
|
|
|
.PHONY: all clean install uninstall dist
|
2013-11-27 04:11:31 +00:00
|
|
|
|
2013-12-08 16:38:44 +00:00
|
|
|
all: $(LIBRARY) $(ARCHIVE) $(PKGCFGF)
|
2013-11-27 14:38:44 +00:00
|
|
|
$(MAKE) -C tests
|
|
|
|
$(INSTALL_DATA) lib$(LIBNAME).$(EXT) tests
|
2013-11-27 04:11:31 +00:00
|
|
|
|
2014-02-28 01:44:07 +00:00
|
|
|
$(LIBRARY): $(LIBOBJ)
|
2013-12-06 16:03:41 +00:00
|
|
|
$(CC) $(LDFLAGS) $(LIBOBJ) -o $(LIBRARY)
|
2013-11-27 14:31:26 +00:00
|
|
|
|
2014-02-28 02:49:46 +00:00
|
|
|
$(LIBOBJ): include/diet.h
|
2014-02-28 01:44:07 +00:00
|
|
|
|
2014-02-28 15:09:04 +00:00
|
|
|
$(LIBOBJ_ARM): $(DEP_ARM)
|
|
|
|
$(LIBOBJ_ARM64): $(DEP_ARM64)
|
|
|
|
$(LIBOBJ_MIPS): $(DEP_MIPS)
|
|
|
|
$(LIBOBJ_PPC): $(DEP_PPC)
|
2014-03-10 03:58:57 +00:00
|
|
|
$(LIBOBJ_SPARC): $(DEP_SPARC)
|
2014-02-28 15:09:04 +00:00
|
|
|
$(LIBOBJ_X86): $(DEP_X86)
|
|
|
|
|
2014-02-28 02:49:46 +00:00
|
|
|
# auto-generate include/diet.h
|
2014-02-28 03:23:28 +00:00
|
|
|
include/diet.h: config.mk
|
2014-02-28 02:23:14 +00:00
|
|
|
@echo "// File auto-generated by Makefile for Capstone framework. DO NOT MODIFY!" > include/diet.h
|
2014-02-28 02:49:46 +00:00
|
|
|
@echo "" >> include/diet.h
|
2014-02-28 02:23:14 +00:00
|
|
|
@echo "#ifndef CAPSTONE_DIET_H" >> include/diet.h
|
2014-02-22 15:26:27 +00:00
|
|
|
@echo "#define CAPSTONE_DIET_H" >> include/diet.h
|
|
|
|
@echo "" >> include/diet.h
|
|
|
|
ifneq (,$(findstring yes,$(CAPSTONE_DIET)))
|
2014-02-28 02:23:14 +00:00
|
|
|
@echo "// Capstone is in DIET mode" >> include/diet.h
|
2014-02-22 15:26:27 +00:00
|
|
|
@echo "#define CAPSTONE_DIET" >> include/diet.h
|
2014-02-24 07:31:41 +00:00
|
|
|
else
|
2014-02-28 02:23:14 +00:00
|
|
|
@echo "// Capstone is in standard mode (NOT diet)" >> include/diet.h
|
2014-02-24 07:34:11 +00:00
|
|
|
@echo "#undef CAPSTONE_DIET" >> include/diet.h
|
2014-02-22 15:26:27 +00:00
|
|
|
endif
|
2014-02-24 07:31:41 +00:00
|
|
|
@echo "" >> include/diet.h
|
2014-02-22 15:26:27 +00:00
|
|
|
@echo "#endif" >> include/diet.h
|
|
|
|
|
2013-12-06 16:03:41 +00:00
|
|
|
$(ARCHIVE): $(LIBOBJ)
|
|
|
|
rm -f $(ARCHIVE)
|
|
|
|
$(AR) q $(ARCHIVE) $(LIBOBJ)
|
|
|
|
$(RANLIB) $(ARCHIVE)
|
2013-12-03 03:11:37 +00:00
|
|
|
|
2013-12-06 16:03:41 +00:00
|
|
|
$(PKGCFGF):
|
2013-12-22 05:23:20 +00:00
|
|
|
echo 'Name: capstone' > $(PKGCFGF)
|
2014-03-05 15:50:41 +00:00
|
|
|
echo 'Description: Capstone disassembly engine' >> $(PKGCFGF)
|
2014-03-07 09:11:18 +00:00
|
|
|
ifeq ($(PKG_EXTRA),)
|
|
|
|
echo 'Version: $(PKG_MAJOR).$(PKG_MINOR)' >> $(PKGCFGF)
|
|
|
|
else
|
|
|
|
echo 'Version: $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA)' >> $(PKGCFGF)
|
|
|
|
endif
|
2013-12-22 05:23:20 +00:00
|
|
|
echo 'libdir=$(LIBDIR)' >> $(PKGCFGF)
|
|
|
|
echo 'includedir=$(PREFIX)/include/capstone' >> $(PKGCFGF)
|
|
|
|
echo 'archive=$${libdir}/libcapstone.a' >> $(PKGCFGF)
|
|
|
|
echo 'Libs: -L$${libdir} -lcapstone' >> $(PKGCFGF)
|
|
|
|
echo 'Cflags: -I$${includedir}' >> $(PKGCFGF)
|
2013-12-03 03:11:37 +00:00
|
|
|
|
2013-12-06 16:03:41 +00:00
|
|
|
install: $(PKGCFGF) $(ARCHIVE) $(LIBRARY)
|
2013-11-27 14:38:44 +00:00
|
|
|
mkdir -p $(LIBDIR)
|
|
|
|
$(INSTALL_LIBRARY) lib$(LIBNAME).$(EXT) $(LIBDIR)
|
2013-11-28 18:22:50 +00:00
|
|
|
$(INSTALL_DATA) lib$(LIBNAME).$(AR_EXT) $(LIBDIR)
|
2013-11-27 14:38:44 +00:00
|
|
|
mkdir -p $(INCDIR)/$(LIBNAME)
|
2014-01-04 01:18:48 +00:00
|
|
|
$(INSTALL_DATA) include/*.h $(INCDIR)/$(LIBNAME)
|
2014-02-24 07:17:40 +00:00
|
|
|
mkdir -p $(PKGCFCGDIR)
|
|
|
|
$(INSTALL_DATA) $(PKGCFGF) $(PKGCFCGDIR)/
|
2013-11-27 04:11:31 +00:00
|
|
|
|
|
|
|
uninstall:
|
2013-11-27 14:38:44 +00:00
|
|
|
rm -rf $(INCDIR)/$(LIBNAME)
|
|
|
|
rm -f $(LIBDIR)/lib$(LIBNAME).$(EXT)
|
2013-11-28 18:22:50 +00:00
|
|
|
rm -f $(LIBDIR)/lib$(LIBNAME).$(AR_EXT)
|
2014-02-24 07:17:40 +00:00
|
|
|
rm -f $(PKGCFCGDIR)/$(LIBNAME).pc
|
2013-11-27 04:11:31 +00:00
|
|
|
|
|
|
|
clean:
|
2013-11-28 18:22:50 +00:00
|
|
|
rm -f $(LIBOBJ) lib$(LIBNAME).*
|
2014-01-09 02:35:58 +00:00
|
|
|
rm -f $(PKGCFGF)
|
2014-02-28 02:49:46 +00:00
|
|
|
rm -f include/diet.h
|
2013-11-27 14:38:44 +00:00
|
|
|
$(MAKE) -C bindings/python clean
|
2013-11-28 16:18:02 +00:00
|
|
|
$(MAKE) -C bindings/java clean
|
2013-11-27 14:38:44 +00:00
|
|
|
$(MAKE) -C bindings/ocaml clean
|
|
|
|
$(MAKE) -C tests clean
|
2013-11-27 04:11:31 +00:00
|
|
|
|
2014-01-18 04:47:15 +00:00
|
|
|
|
|
|
|
TAG ?= HEAD
|
|
|
|
ifeq ($(TAG), HEAD)
|
|
|
|
DIST_VERSION = latest
|
|
|
|
else
|
|
|
|
DIST_VERSION = $(TAG)
|
2014-01-18 02:42:15 +00:00
|
|
|
endif
|
2014-01-18 04:47:15 +00:00
|
|
|
|
|
|
|
dist:
|
2014-01-22 10:46:20 +00:00
|
|
|
git archive --format=tar.gz --prefix=capstone-$(DIST_VERSION)/ $(TAG) > capstone-$(DIST_VERSION).tgz
|
2014-03-11 04:29:16 +00:00
|
|
|
git archive --format=zip --prefix=capstone-$(DIST_VERSION)/ $(TAG) > capstone-$(DIST_VERSION).zip
|
2014-01-18 02:42:15 +00:00
|
|
|
|
2013-11-27 04:11:31 +00:00
|
|
|
.c.o:
|
2013-12-06 16:03:41 +00:00
|
|
|
$(CC) $(CFLAGS) -c $< -o $@
|