elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
gui
/
Makefile.owc
File editor
# PAINT Makefile for ELKS using OpenWatcom C ############# Standard Section for Open Watcom C ############## ifndef TOPDIR $(error ELKS TOPDIR is not defined) endif #ifndef WATCOM #$(error OpenWatcom WATCOM is not defined) #endif CC = owcc LD = owcc MODEL=s CLBASE = -mcmodel=$(MODEL) CLBASE += -bnone -march=i86 -std=c99 -fsigned-char -msoft-float CLBASE += -fno-stack-check -fnostdlib CLBASE += -Wc,-zev -Wc,-zls -Wc,-x -Wc,-wcd=303 WARNINGS = -Wall -Wextra INCLUDES = -I$(TOPDIR)/libc/include -I$(TOPDIR)/elks/include INCLUDES += -I$(TOPDIR)/libc/include/watcom DEFINES = CFLAGS = -Os $(CLBASE) $(WARNINGS) $(INCLUDES) $(DEFINES) $(LOCALFLAGS) LDBASE = -bos2 -s LDBASE += -Wl,option -Wl,dosseg LDBASE += -Wl,option -Wl,start=_start LDBASE += -Wl,option -Wl,nodefaultlibs LDBASE += -Wl,option -Wl,stack=0x1000 LDBASE += -Wl,option -Wl,heapsize=0x1000 LDFLAGS = $(LDBASE) LDLIBS = -Wl,library -Wl,$(TOPDIR)/libc/libc$(MODEL).lib OBJS = $(SRCS:.c=.obj) %.obj: %.c $(CC) -c $(CFLAGS) -o $*.obj $< ############# End of Standard Section ############## BINDIR = . DEFINES += -DDRIVER=1 LOCALFLAGS = PROG = $(BINDIR)/paint.os2 SRCS = app.c gui.c input.c render.c event.c mouse.c graphics.c drawbmp.c cursor.c SRCS += drawscanline.c all: $(PROG) $(PROG): $(OBJS) $(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) clean: $(RM) $(PROG) *.obj $(RM) $(PROG) *.o8j *.as *.i *.lst
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history