DJGPP.MAK
资源名称:ertos.rar [点击查看]
上传用户:sunrenlu
上传日期:2022-06-13
资源大小:1419k
文件大小:1k
源码类别:
操作系统开发
开发平台:
DOS
- #
- # GNU Makefile for eRTOS examples
- #
- .SUFFIXES: .exe
- LIBS = $(subst ,/,$(WATT_ROOT))/lib/libwatt.a ../lib/librt32.a
- CC = gcc
- CFLAGS = -Wall -O2 -g -gcoff -I../inc
- PROGS = test.exe test3.exe test4.exe test5.exe test6.exe
- test7.exe test8.exe test9.exe test12.exe test13.exe
- test14.exe test15.exe test17.exe mathtest.exe
- term.exe term2.exe term3.exe
- all: $(PROGS)
- @echo Protected-mode (djgpp2) binaries done
- %.exe: %.c $(LIBS)
- $(CC) $(CFLAGS) $*.c $(LIBS) -o $*.exe
- $(PROGS): $(LIBS)
- clean:
- rm -f $(PROGS)