mirror of
https://github.com/jam422470459/EPD-nRF52-hema213.git
synced 2025-12-06 16:42:49 +08:00
add GUI emulator
This commit is contained in:
18
Makefile.win32
Normal file
18
Makefile.win32
Normal file
@@ -0,0 +1,18 @@
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -O2 -IGUI -DPAGE_HEIGHT=600
|
||||
LDFLAGS = -lgdi32 -mwindows
|
||||
|
||||
SRCS = GUI/Adafruit_GFX.c GUI/u8g2_font.c GUI/fonts.c GUI/GUI.c GUI/Lunar.c emulator.c
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
TARGET = emulator.exe
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) $(TARGET)
|
||||
Reference in New Issue
Block a user